<?php

use think\facade\Route;

Route::get('qrcode', function ($text) {
    die(\org\util\HelpUtil::qrcode($text));
});
Route::view('error',\think\facade\Env::get('app_path').'common/tpl/error.php');